package com.example.mallsystem1104.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * @Author zy
 * @Date 2024/12/13 17:40
 * @packageName:com.example.mallsystem1104.mapper
 * @ClassName:IncomeMapper
 */
@Mapper
public interface IncomeMapper {

    List<Map<String, Object>> selectCategoryIncome();

    BigDecimal selectSumIncome();

    BigDecimal getDayIncome(@Param("thisDay") String thisDay, @Param("nextDay") String nextDay);
}
